<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>

    <!-- 正常走 -->
    <script type="module">
      import rollup0 from '../dist/es/bundle.esm.js'
      console.log(rollup0, '===module1')
    </script>
    <!-- // TODO:这里有待考察，设置src后就不能再代码里标签里写代码了 -->
    <script type="module" src="../dist/es/bundle.esm.js"></script>

    <script src="../dist/iife/bundle.iife.js"></script>
    <script>
      window.onload = function () {
        console.log(this.rollup0, '===iife')
        console.log(window, '===window')
      }
    </script>
  </head>
  <body></body>
</html>
